--- 战斗主类
---
--- @class BattleUseSkill
BattleUseSkill = Class("BattleUseSkill")
local BattleUseSkill = BattleUseSkill

--- @public
--- @return BattleUseSkill
function BattleUseSkill:ctor(team, site)

    -- 唯一id */
    ---@type number
    self.uniqueId = 0;

    self.skill = Skill.New();

    self.parentSkill = BattleUseSkill.New();

    self.fight = TeamFight.New();

    -- 技能释放者 */
    self.fighter = Fighter.New();

    -- 技能目标 */
    self.target = Fighter.New();

    -- 实际作用目标 */
    ---@type table<number,Fighter>
    self.actionTargets = {};

    -- 使用阶段 */
    self.stage = FightSkillStageEnum.New();

    -- 排除目标 */
    ---@type table<number,number>

    self.excludes = {};
    -- 单次释放技能攻击过的目标 */
    ---@type table<number,number>
    self.attackedTargets = {};


end
function self:getSkillModelId()
    return self.skill.skill.skillBean.f_SkillID;
end

function self:isSeparate()
    return self.skill.skillConf.f_Independent == 1;
end

